package com.car.service;

import com.car.entity.Cartypetable;
import com.car.vo.CartypetableVo;

import java.util.List;

public interface CartypetableService {
    int deleteByPrimaryKey(String carType);

    int insert(Cartypetable record);

    Cartypetable selectByPrimaryKey(String carType);

    List<Cartypetable> selectAll();

    int updateByPrimaryKey(Cartypetable record);
    
    List<CartypetableVo> Brandinfo(int i,double minprice,double maxprice,String carType,String brand);
    
    Cartypetable selectTheRent(int carId);
    
    List<Cartypetable> selectRentAll();
    
    Cartypetable selectRentId(int cartypeId);
    
    int  updataRent (Cartypetable cartypetable);
}